.class public Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;
.super Ljava/lang/Object;
.source "StreamServerConfigurationImpl.java"

# interfaces
.implements Lorg/teleal/cling/transport/spi/StreamServerConfiguration;


# instance fields
.field private bufferSizeKilobytes:I

.field private dataWaitTimeoutSeconds:I

.field private listenPort:I

.field private staleConnectionCheck:Z

.field private tcpConnectionBacklog:I

.field private tcpNoDelay:Z


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->listenPort:I

    const/4 v1, 0x5

    .line 3
    iput v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->dataWaitTimeoutSeconds:I

    const/16 v1, 0x8

    .line 4
    iput v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->bufferSizeKilobytes:I

    const/4 v1, 0x1

    .line 5
    iput-boolean v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->staleConnectionCheck:Z

    .line 6
    iput-boolean v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpNoDelay:Z

    .line 7
    iput v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpConnectionBacklog:I

    return-void
.end method

.method public constructor <init>(I)V
    .locals 2

    .line 8
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 9
    iput v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->listenPort:I

    const/4 v1, 0x5

    .line 10
    iput v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->dataWaitTimeoutSeconds:I

    const/16 v1, 0x8

    .line 11
    iput v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->bufferSizeKilobytes:I

    const/4 v1, 0x1

    .line 12
    iput-boolean v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->staleConnectionCheck:Z

    .line 13
    iput-boolean v1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpNoDelay:Z

    .line 14
    iput v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpConnectionBacklog:I

    .line 15
    iput p1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->listenPort:I

    return-void
.end method


# virtual methods
.method public getBufferSizeKilobytes()I
    .locals 1

    .line 1
    iget v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->bufferSizeKilobytes:I

    return v0
.end method

.method public getDataWaitTimeoutSeconds()I
    .locals 1

    .line 1
    iget v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->dataWaitTimeoutSeconds:I

    return v0
.end method

.method public getListenPort()I
    .locals 1

    .line 1
    iget v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->listenPort:I

    return v0
.end method

.method public getTcpConnectionBacklog()I
    .locals 1

    .line 1
    iget v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpConnectionBacklog:I

    return v0
.end method

.method public isStaleConnectionCheck()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->staleConnectionCheck:Z

    return v0
.end method

.method public isTcpNoDelay()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpNoDelay:Z

    return v0
.end method

.method public setBufferSizeKilobytes(I)V
    .locals 0

    .line 1
    iput p1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->bufferSizeKilobytes:I

    return-void
.end method

.method public setDataWaitTimeoutSeconds(I)V
    .locals 0

    .line 1
    iput p1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->dataWaitTimeoutSeconds:I

    return-void
.end method

.method public setListenPort(I)V
    .locals 0

    .line 1
    iput p1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->listenPort:I

    return-void
.end method

.method public setStaleConnectionCheck(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->staleConnectionCheck:Z

    return-void
.end method

.method public setTcpConnectionBacklog(I)V
    .locals 0

    .line 1
    iput p1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpConnectionBacklog:I

    return-void
.end method

.method public setTcpNoDelay(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lorg/teleal/cling/transport/impl/apache/StreamServerConfigurationImpl;->tcpNoDelay:Z

    return-void
.end method
